package team.hyznrj.studentsys.exception;

import team.hyznrj.studentsys.entity.DataReport;
import team.hyznrj.studentsys.enums.DataReportEnum;

/**
 * Excel表头为空异常
 * @ClassName NullExcelHeaderException
 * @author mdzzf
 * @date 2018年3月27日
 */
public class ExcelIndexOutOfRangeException extends ZzfDataBaseException {
	private String msg;
	
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * @Fields {todo}
	 */

	public ExcelIndexOutOfRangeException(){
		super();
		this.msg="index out of range";
		this.code=DataReportEnum.DATA_ILLEGAL;
	}
	public ExcelIndexOutOfRangeException(String msg){
		super(msg);
		this.msg=msg;
	}
}
